<?php
session_start();
//Inicio la sesion pzLogin
session_name('pzLogin');
// Nombro la sesion

error_reporting(E_ALL ^ E_NOTICE);
//Desactivo los mensajes de error
define('INCLUDE_CHECK', true);

?>
<!DOCTYPE HTML>
<html lang="es">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>Puzzel!</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="description" content="Stick Wars, el gran juego de peleas">
		<meta name="author" content="Jose Luis Represa">
		<!-- [if lt IE 9] -->
		<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
		<!-- [endif] -->
		<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
		<script src="bootstrap/js/bootstrap.min.js"></script>
		<link href="bootstrap/css/bootstrap.css" rel="stylesheet">
		<style type="text/css">
			body {
				padding-top: 120px;
				padding-bottom: 40px;
			}
		</style>
		<link href="bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
		<link href="css/override.css" rel="stylesheet">
		<link href="css/index_style.css" rel="stylesheet">
		<script src="./ajax/login.js"></script>
	</head>
	<body>
		<div id="header" class="navbar navbar-inverse navbar-fixed-top">
			<a href="index.php">
			<div id="logo" class="span3 offset2">
				<h1>PUZZEL!</h1>
			</div></a>
			<form id="login" class="form-inline pull-right">
				<input type="text" id="log_email" class="input-medium" placeholder="Email">
				<input type="password" id="log_pass" class="input-medium" placeholder="Password">
				<button type="submit" class="btn" style="margin-top:-1px">
					Sign in
				</button></br>
				<label class="checkbox">
					<input type="checkbox" value="remember">
					Remember me </label>

				<div id="log_status_bar" class="progress progress-striped progress-warning active" style="display: none;">
					<div class="bar" style="width: 0%;"></div>
				</div><!-- BARRA DE PROGRESO -->
			</form>
		</div>
		<div class="container-fluid">
			<div class="row">
				<div class="span5 hero-unit offset6">
					<form id="register" class="form-signin">
						<legend>
							Reg&iacute;strate aqu&iacute;, o a trav&eacute;s de twitter o facebook:
						</legend>
						<input type="text" id="register_user" class="input-block-level" placeholder="Usuario">
						<input type="text" id="register_email" class="input-block-level" placeholder="Email">
						<input type="password" id="register_pass" class="input-block-level" placeholder="Password">
						<input type="password" id="register_passr" class="input-block-level" placeholder="Repita la password">
						<label class="checkbox"></label>
						<input class="btn btn-large btn-primary btn-warning" type="submit" value="Go!" />
					</form>
					<!-- BARRA DE PROGRESO -->
					<div id="reg_status_bar" class="progress progress-striped progress-warning active" style="display: none;">
						<div class="bar" style="width: 0%;"></div>
					</div><!-- BARRA DE PROGRESO -->
					<?php require_once './twitteroauth/twitterButton.php'; ?>
				</div>
			</div>
		</div><!-- CONTAINER -->
	</body>
</html>